﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UI
{
    /*
    public class EstablishmentOutputFile : FileContent
    {
        public const string CohortData = "Cohort_";
        
        public string SiteLocation { get; private set; }
        public string Species { get; private set; }
        public string Year { get; private set; }
        public string DirectoryName { get; private set; }
        public string Extention { get; private set; }
        
        public string GetBatchRename(string addition)
        {
            string BatchRename = DirectoryName + "\\" + System.IO.Path.GetFileNameWithoutExtension(FileName) +"_" + addition + System.IO.Path.GetExtension(FileName);
            return BatchRename;
        }

        public EstablishmentOutputFile(string FileName)
            : base(FileName)
        {
            try
            {
                SiteLocation = System.IO.Path.GetFileNameWithoutExtension(FileName).Split('_')[1];
                Year = System.IO.Path.GetFileNameWithoutExtension(FileName).Split('_')[2];
                Species = System.IO.Path.GetFileNameWithoutExtension(FileName).Split('_')[3];
                DirectoryName = System.IO.Path.GetDirectoryName(FileName);
                Extention = System.IO.Path.GetExtension(FileName);
            }
            catch
            {
                return;
            }
          
        }
         
       
    }
     */
}
